package org.bluesky.framework.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.bluesky.framework.ResponseResult;
import org.bluesky.framework.entity.Menu;
import org.bluesky.framework.vo.MenuVo;

import java.util.List;


/**
 * 菜单权限表(Menu)表服务接口
 *
 * @author makejava
 * @since 2023-02-20 20:32:52
 */
public interface MenuService extends IService<Menu> {

    List<String> selectPermsByUserId(Long id);

    List<MenuVo> selectRouterMenuTreeByUserId(Long userId);

    ResponseResult getMenuList(String name, String status);

    ResponseResult deleteMenu(Long menuId);

    ResponseResult treeMenuById(Long id);
}

